package Model;


public enum JocStates {
	PUZZLE("Puzzle"), LCV("Lcv"), CANI("Cani");

	private final String displayName;

	JocStates(final String displayName) {
		this.displayName = displayName;
	}

	@Override
	public String toString() {
		return displayName;
	}

	public static JocStates valueFromString(final String stringValue) {
		for (final JocStates jocType : values()) {
			if (jocType.toString().equals(stringValue)) {
				return jocType;
			}
		}
		return null;
	}
}
